package com.prs.crm.dao.crm.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.crm.CustomerSalesDao;
import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.domain.crm.CustomerSales;

public class CustomerSalesDaoImpl extends BaseDaoImpl<CustomerSales> implements CustomerSalesDao{

	@Override
	public List<CustomerSales> getAllSales() {
		Criteria criteria = this.getSession().createCriteria(CustomerSales.class);
		return criteria.list();
	}

}
